package com.tjmc.recruit.finance.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.tjmc.recruit.finance.api.enums.UsageServiceTypeEnum;
import com.tjmc.recruit.finance.api.enums.UsageTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;

/**
 * 消费项兑换配置表
 *
 * @author recruit
 * @date 2024-11-25 16:38:45
 */
@Data
@TableName("usage_item_exchange_conf")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "消费项兑换配置表")
public class UsageItemExchangeConfEntity extends Model<UsageItemExchangeConfEntity> {


	/**
	* id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="id")
    private Integer id;

	/**
	* 消费项类别：E币、短信、子账号
	*/
    @Schema(description="消费项类别：E币、短信、子账号")
    private UsageTypeEnum usageItemType;

	/**
	* 消费金额
	*/
    @Schema(description="消费金额")
    private BigDecimal usagePrice;

	/**
	* 消费数量
	*/
    @Schema(description="消费数量")
    private Integer usageNum;

	/**
	* 消费服务类别：置顶、刷新、查看
	*/
    @Schema(description="消费服务类别：置顶、刷新、查看")
    private UsageServiceTypeEnum usageServiceType;
}
